package com.sy.core.model.common;

import java.io.Serializable;
import java.util.List;

public class MenuTree implements Serializable {
    private static final long serialVersionUID = -4298412978636599074L;
    private String pk;
    private String pcode;
    private String icon;
    private String index;
    private String title;
    private Integer num;
    private String type;//功能类型1菜单2.按钮3.API
    private List<MenuTree> subs;
    public MenuTree() {
    }

    public MenuTree(String pk, String pcode, String icon, String index, String title, Integer num, String type, List<MenuTree> subs) {
        this.pk = pk;
        this.pcode = pcode;
        this.icon = icon;
        this.index = index;
        this.title = title;
        this.num = num;
        this.type = type;
        this.subs = subs;
    }

    public String getPk() {
        return pk;
    }

    public void setPk(String pk) {
        this.pk = pk;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<MenuTree> getSubs() {
        return subs;
    }

    public void setSubs(List<MenuTree> subs) {
        this.subs = subs;
    }
}
